/*
 * @Project Name: spring-boot
 * @File Name: UserService
 * @Package Name: com.hhly.spring.boot.cache
 * @Date: 2017/12/13 17:52
 * @Creator: linshixing-1199
 * @line------------------------------
 * @修改人:
 * @修改时间:
 * @修改内容:
 */

package com.sm.shoplook.service.base;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.sm.shoplook.domain.base.MainIndex;
import com.sm.shoplook.vo.base.ApiException;
import com.sm.shoplook.vo.base.ApiResult;
import com.sm.shoplook.vo.base.BaseSearchVo;

/**
 * @author chenpy-1072
 * @desc 首页管理
 * @date 2018/08/13
 * @see
 */
public interface MainIndexService {

	ApiResult<PageInfo<MainIndex>> getListPage(BaseSearchVo baseSearchVo);

	ApiResult batchDelete(String[] idList) throws ApiException;

	ApiResult saveMainIndex(MainIndex mainIndex) throws ApiException;

	ApiResult<MainIndex> selectMainIndexById(Integer id);

	ApiResult<List<MainIndex>> getFrontMainIndex(Integer type, Integer count);
}
